import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

const store = new Vuex.Store({
  state: {
    singer:{}
  },
  mutations: {
    setSinger(state,singer){
        state.singer=singer
    }
  },
  getters:{
     singer:(state)=>{
         return state.singer
     }
  },
  actions:{

  },
  modules:{

  }
})

export default store
